package books.to.africa


import grails.test.mixin.*
import org.junit.*


@TestFor(TeacherRegister)
class TeacherRegisterTests {

    void testTeacherRegister() {
		TeacherRegister tr = new TeacherRegister(firstName:"Firstname", lastName:"Lastname", street:"51 street ave.", town:"Portland",
			region:"Maine", country:"United States", schoolName:"USM", gradeLevel:"K")
		assertEquals "Firstname", tr.firstName
		assertEquals "Lastname", tr.lastName
		assertEquals "51 street ave.", tr.street
		assertEquals "Portland", tr.town
		assertEquals "Maine", tr.region
		assertEquals "United States", tr.country
		assertEquals "USM", tr.schoolName
		assertEquals "K", tr.gradeLevel
    }
}
